<extend name="Public/layout"/>

<block name="body">
    <div class="container">
        <div class="row">
            <div class="col-xs-12 col-sm-9">
                <ul class="breadcrumb">
                    <li><i class="icon-location-arrow icon-muted"></i></li>
                    <li><a href="#">Home</a></li>
                    <li><a href="#">Library</a></li>
                    <li class="active">Data</li>
                </ul>
                <article class="article">
                    <header>
                        <h1 class="text-center">{$info.title}</h1>
                        <dl class="dl-inline">
                            <dt>发布时间：</dt>
                                <dd>{$info.utime|time_format}</dd>
                            <dt>作者：</dt>
                                <dd>{$info.uid}</dd>
                            <dd class="pull-right">
                                <span class="label label-success">NEW</span>
                                <span class="label label-warning">火爆</span>
                                <span class="label label-info">原创</span>
                                <span class="label label-danger"><i class="icon-eye-open"></i> {$info.view}</span>
                            </dd>
                        </dl>
                        <notempty name="info.abstract">
                            <section class="abstract">{$info.abstract}</section>
                        </notempty>
                    </header>
                    <section class="article-content">
                        {$info.content}
                    </section>
                    <footer>
                        <p class="pull-right text-muted">
                            发布时间：{$info.utime|time_format} &nbsp;点击数：234
                        </p>
                        <p class="text-important">本文版权所有归<a href="#">@CoreThink</a></p>
                        <ul class="pager pager-justify pager-pills">{$info.previous}{$info.next}</ul>
                    </footer>
                </article>
            </div>
            <div class="col-xs-12 col-sm-3">
                <nav class="menu menu-corethink" data-toggle="menu">
                    <!-- 侧边导航 -->
                    <ul class="nav nav-primary">
                        <!-- 模版标签 -->
                        <corethink:category name="side_category">
                            <li class="show">
                                {$side_category.link}
                                <ul class="nav">
                                    <volist name="side_category._child" id="child_category">
                                        <li <php>if($child_category['id'] == $__CURRENT_CATEGORY__) echo 'class="active"';</php> >
                                            {$child_category.link}
                                        </li>
                                    </volist>
                                </ul>
                            </li>
                        </corethink:category>
                        <!-- /模版标签 -->
                    </ul>
                </nav>
            </div>
        </div>
    </div>
</block>
